﻿using Microsoft.Owin;
using Microsoft.Owin.Security;
using Microsoft.Owin.Security.Infrastructure;
using Microsoft.Owin.Security.OAuth;
using Owin;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Security.Claims;
using System.Security.Principal;
using System.Threading.Tasks;
using WebMvc.hub;

[assembly: OwinStartupAttribute(typeof(WebMvc.Startup))]
namespace WebMvc
{
    public partial class Startup
    {
        public void Configuration(IAppBuilder app)
        {
            //app.UseOAuthAuthorizationServer(new MyOAuthOptions());
            //app.UseJwtBearerAuthentication(new MyJwtOptions());
            app.MapSignalR();

            app.MapSignalR<DemoPersistentConnection>("/Connections/DemoPersistentConnection");
            ConfigureAuth(app);
        }
        


    }
   
}
